Generic Id JSON Formatter for scala and play