Add ApiParseValue

This API module has no place here, though is currently required by the
JavaScript due to lack of inversion of control.