returns all field in toArray methdo