Fixed Bugs, returned array now contains field names as keys