Making get_keys return the same format returned by the equivalent Javascript function, and fixing syntax error in delete_keys