Move the JsonSerializeable interface the Registry package.