Bug 1082972 - Validate payload for Node API

@ironcladlou Review?