Feature/performanceplatform api

It feels odd having this inline `struct` here. Given it's something we know we're receiving it would be nicer to be explicit about it and have it as a `struct` at the top of the file (including the `Values` key nested struct).