Corrected the case of get with null fields. Now, when fields is null, all fields are retrieved.