Fix API definition upgrade from 2.7 to 2.9 (#2547)
Fix API definition upgrade from 2.7 to 2.9 (#2547)

It should not add "intenal" record to JSON payload if its empty

Fix https://github.com/TykTechnologies/tyk-analytics/issues/1463
lonelycode/tyk,lonelycode/tyk,lonelycode/tyk