Get records as object