Simple array to object mapper