Expose lock data as a Hash for conversion to JSON