Add a `getSerializedData` method

In order to build up GET queries on the fly.

- [ ] implentation
- [ ] documentation