Allow the use of field numbers rather than names in JSON serialization

@swankjesse @JakeWharton 
Restored, just getting rid of a stupid Intellij warning.