Added $p parameter to limit response to specific fields