Serializing Git objects (for RDBMS) in JSON