Upon further testing, I have since found out that Object IDs are not rendering in command line renderer in Unreal, regardless of the format type. I am unable to render the Object ID passes even in png format.
It is so unfortunate that the documentation is not covering this information at all. (Or even if it is, this is not easily accessible)