WebAPI JSON serialisation working.
Created more granular tests for WebAPI.