[relationship] updated style and refactored map batch response method
[batch] added documentation and updated style