@SuppressWarnings("unchecked")
public static Map<String, String> getAttributes(Object object) {
Class<?> clazz = object.getClass();
for(Field f : clazz.getDeclaredFields()) {
Attributes attributes = f.getAnnotation(Attributes.class);
if(attributes != null) {
try {
f.setAccessible(true);
return (Map<String, String>) f.get(object);
} catch(IllegalAccessException e) {